Skip to main content

mimeEncodeForMIMETransfer

Type

function

Summary

Encode data in content transfer encoding

Syntax

mimeEncodeForMIMETransfer(<pData>,<pEncoding>)

Description

Use the mimeEncodeForMIMETransfer function to encode data for transfer

Parameters

NameTypeDescription

pData

The data to be encoded. If the parameter is not binary data then it will be encoded to binary as UTF-8 encoded text before encoding with the requested form.

pEncoding

The encoding to return the data in

  • "quoted-printable": Quoted printable encoding. Most likely used for text with many ASCII characters
  • "base64": Base 64 encoding

Examples

put tHeaders & crlf & crlf & \
mimeEncodeForMIMETransfer(tEmailBody, "quoted-printable") into tContentA[1]

function: textEncode